﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using System.Windows.Media;
using myapp.ViewModels;
using myapp.Instances;
using myapp.Events;
using myappcore.ViewModels;
using myapp.Events.ViewModel;

namespace myapp.ViewModels
{
    public class PossitionGroupViewModel : IBaseContentViewModel
    {
        #region Attribute

        #endregion

        #region Properties

        /// <summary>
        /// Data of possition
        /// </summary>
        public PossitionGroup PossitionGroup { get; set; }

        #endregion

        #region Contructor

        #endregion

        #region Method
        public void PossitionGroupSelected()
        {
            MainInstance.Instance.EventAggregator.Publish(new ViewModelPossitionGroupSelectedEvent()
            {

                PossitionGroupViewModel = this
            });
        }
        #endregion

    }
}
